# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo04
# Description:
# Author:       98745
# Date:         2019/2/28
#-------------------------------------------------------------------------------

dict={'n':'pan','age':21,'s':'女','m':'7890'}
for key in dict:
    print(key,"=",dict[key],end='')
print();
for key,value in dict.items():
    print(key,'=',value,end='')
print();
l1=[1,2,3,4,5]
l2=['a','b','c','data','e']
for i in range(len(l1)):
    print(l1[i],l2[i],end='')
print();
for i in zip(l1,l2):
    print(i,end='')
print();
l3=['data','v']
for i in zip(l2,l3):
    print(i,end='')
print();
va1=[3,2,5,7,4,3,5,2,8]
print(sorted(va1))
va2=reversed(va1)
for i in va2:
    print(i,end='')
print();
print(''.join(reversed('hello world')))